/* 在线链接服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
@font-face {
  font-family: 'iconfont';
  /* Project id 4425747 */
  src: url('//at.alicdn.com/t/c/font_4425747_u1rjxkcdqc.woff2?t=1708016047645') format('woff2'),
    url('//at.alicdn.com/t/c/font_4425747_u1rjxkcdqc.woff?t=1708016047645') format('woff'),
    url('//at.alicdn.com/t/c/font_4425747_u1rjxkcdqc.ttf?t=1708016047645') format('truetype');
}

.iconfont {
  vertical-align: bottom;
  font-family: "iconfont" !important;
  font-size: 32px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}


/* 背景 */
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0;
  background-color: #F0F0F0;
}


/* 栏目 */
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(to right, #0483D4 80%, transparent);
}

/* 主题 */
.navInformation {
  font: normal 500 28px/60px Arial sans-serif;
  color: #fff;
  margin-left: 20px;
  letter-spacing: 2px;
}

/* 个人信息 */
.about {
  position: relative;
  margin-left: 980px;
  border-radius: 10px;
  transition: all .5s;
}


/* 修改密码界面 */
.updatePasswordShow {
  display: none;
  position: absolute;
  top: 12%;
  left: 35%;
  width: 500px;
  height: 600px;
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 1px 1px 5px 5px grey;
  z-index: 5;
}

.updatePasswordShow input {
  margin-top: 30px;
  width: 70%;
  height: 40px;
  border-radius: 10px;
  border: none;
  background-color: #F0F0F0;
  font: normal 500 14px/80px Arial sans-serif;
  transition: all .5s;
}

.updatePasswordShow input:focus {
  outline: none;
  transform: scale(1.02);
  border: #0483D4 solid 1px;
}

.updatePasswordShow h3 {
  display: inline-block;
  width: 70%;
  margin: 10px 0px 10px 30px;
}

.buttons {
  display: flex;
  height: 150px;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

button {
  background-color: #0483D4;
  width: 75px;
  height: 35px;
  text-align: center;
  font: normal 600 16px Arial sans-serif;
  color: #fff;
  border-radius: 5px;
  border: none;
  transition: all .5s;
  cursor: pointer;
  margin-right: 15px;
}

button:hover {
  transform: scale(1.05);
}

.choose3 {
  display: none;
  padding: 0;
  position: absolute;
  width: 180px;
  top: 25px;
  right: 2%;
  background-color: #fff;
  z-index: 5;
}

.about:hover {
  background-color: #fff;
  transform: scale(1.01);
}


/* 导航栏 */
.navChoose {
  display: flex;
  height: 50px;
  align-items: center;
  gap: 90px;
  background-image: linear-gradient(to right, white 80%, transparent);
}

.informationInquiry {
  margin-left: 70px;
}

.navChoose span {
  position: relative;
  width: 100px;
  height: 100%;
  line-height: 50px;
  cursor: pointer;
  z-index: 5;
}

.choose1,
.choose2 {
  position: absolute;
  top: 50px;
  left: -5px;
  width: 180px;
  background-color: #fff;
  text-align: center;
}

.choose1 ul,
.choose2 ul {
  display: none;
  background-color: #fff;
  width: 180px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.choose1 ul li,
.choose2 ul li,
.choose3 li {
  display: flex;
  box-sizing: border-box;
  width: 180px;
  height: 32px;
  padding-left: 10px;
  justify-content: left;
  align-items: center;
  transition: all .5s;
}

.choose1 ul li a,
.choose2 ul li a,
.choose3 a {
  display: block;
  width: 100%;
  text-align: left;
  color: #000;
  text-decoration: none;
}

.choose1 ul li:hover,
.choose2 ul li:hover,
.choose3 li:hover {
  background-color: #cbcdce;
}


/* 主体部分 */
.majorShow {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 30px auto;
  width: 1300px;
  background-color: white;
}

.majorShowTitle {
  margin: 20px 0px 0px 50px;
}

.searchBox {
  position: relative;
}

.search {
  width: 40%;
  height: 40px;
  margin: 40px 40px 40px 50px;
  border-radius: 20px;
  border: none;
  background-color: #f0f0f0;
  transition: all 0.5s;
  transform-origin: left;
  font: normal 500 20px Arial sans-serif;
}

.search:focus,
.search:hover {
  outline: none;
  transform: scaleX(1.01);
}

.searchIcon {
  position: absolute;
  top: 48px;
  left: 15px;
}


/* 文章展览区 */
.essays {
  width: 80%;
  margin: 0px auto;
}

.essay {
  position: relative;
  height: 150px;
  margin: 15px 0px 15px 0px;
  background-color: #f0f0f0;
  border-radius: 15px;
  transition: all .5s;
  cursor: pointer;
  overflow: hidden;
}

.essay:hover {
  transform: scale(1.05);
}

.essay img {
  display: inline-block;
  width: 200px;
  height: 80%;
  margin: 15px 10px 10px 10px;
  background-color: #0483D4;
  background-size: 200px 120px;
  border-radius: 15px;
}

.essay h3 {
  position: absolute;
  height: 50px;
  display: inline-block;
}

.essay span {
  position: absolute;
  height: 80px;
  left: 21%;
  top: 35%;
  font: normal 500 16px Arial sans-serif;
}


/* 文章详细弹窗 */
.essayShow {
  display: none;
  position: absolute;
  top: 10px;
  left: 5%;
  width: 1200px;
  height: 500px;
  background-color: #fff;
  box-shadow: 1px 1px 5px 5px grey;
}

.essayShow h2 {
  position: relative;
  width: 500px;
  height: 50px;
  margin: 20px 50px 0 50px;
}

.cancel {
  position: absolute;
  right: 2%;
  top: 20px;
  background-color: #0483D4;
  width: 75px;
  height: 35px;
  text-align: center;
  font: normal 600 16px Arial sans-serif;
  color: #fff;
  border-radius: 5px;
  border: none;
  transition: all .5s;
  cursor: pointer;
  margin-right: 15px;
}

.cancel:hover {
  transform: scale(1.1);
}

#editor—wrapper {
  display: inline-block;
  width: 90%;
  height: 200px;
}

#editor-container {
  display: inline-block;
  width: 100%;
  height: 380px;
  overflow: auto;
  border-radius: 15px;
  margin: 20px 0px 0px 50px;
  border-radius: 15px;
  border: #f0f0f0 3px solid;
}


/* 表格控制栏 */
.controlTable {
  width: 95%;
  padding: 0;
  margin: 30px auto;
  height: 50px;
  background-color: #f0f0f0;
}

.controlTable ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 13px 0 0 0;
  padding: 0;
  list-style: none;
}

.controlTable ul li {
  display: inline-block;
  text-align: center;
  width: 25px;
  height: 25px;
  line-height: 25px;
  background-color: #f0f0f0;
  border-radius: 15px;
  border: 2px solid rgb(198, 191, 191);
  transition: all .5s;
  cursor: pointer;
}

.controlTable ul li i {
  font-size: 16px;
}

.controlTable ul li:hover {
  background-color: #fff;
}

.controlTable input {
  display: inline-block;
  width: 50px;
  height: 25px;
  border-radius: 10px;
  border: none;
  background-color: #fff;
  font: normal 500 16px/80px Arial sans-serif;
  transition: all .5s;
}

.controlTable input:focus {
  outline: none;
  transform: scale(1.02);
  border: #0483D4 solid 1px;
}

.controlTable select {
  height: 25px;
  outline: none;
}